package net.eascn.Editor.model
{
	import com.adobe.cairngorm.model.ModelLocator;
	
	import net.eascn.Editor.dao.Provider;
	
	[Bindable]
	public class ModelLocator implements com.adobe.cairngorm.model.ModelLocator
	{
		
		private static var modelLocator:net.eascn.Editor.model.ModelLocator;
		public static function getInstance():net.eascn.Editor.model.ModelLocator
		{
			if(modelLocator == null)
				modelLocator = new net.eascn.Editor.model.ModelLocator();
			return modelLocator;
		}
		
		public function ModelLocator()
		{
		}
		
		
		public var isnewed:Boolean = false;
		
		public var currentAlbumXML:XML = null;
		public var currentPageXML:XML = null;
		public var standardXML:XMLList = null;
		
		public var catalogueXML:XMLList = null;
		public var currentStandard:XML = null;
		
		
		public var dao:Provider = new Provider();
	}
}